package com.qk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qk.Dto.BusinessDto;
import com.qk.Vo.OverviewVo;
import com.qk.entity.Business;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface BusinessesMapper extends BaseMapper<Business> {
    Page<Business> selectByList(Page<Business> page, BusinessDto businessDto);

    Business selectBusinessById(Integer id);

    OverviewVo getBusinessOverView();

    Page<Business> selectBusinessPoolByList(Page<Business> businessPage, BusinessDto businessDto);
}
